import java.util.Scanner;

public class TestAdministrator {
    public static void main(String[] args) {
        Scanner n=new Scanner(System.in);
        Administrator m=new Administrator();
        System.out.print("请输入用户名");
        m.name=n.next();
        System.out.print("请输入密码：");
        m.password=n.nextInt();
       if (m.password==110110){
           System.out.print("请输入新密码");
           m.newpassword=n.nextInt();
           m.succeed();
       }
       else {
           m.defeated();
       }

    }
}
